lib/commit: Minor refactoring of tmpdir cleanup code
authorColin Walters <walters@verbum.org>
Tue, 28 Nov 2017 14:33:17 +0000 (09:33 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 1 Dec 2017 19:00:18 +0000 (19:00 +0000)
commit870b614f37b17c9e2583e24ebae7467687015b20
tree0d4292b89ba6a28def1d27f934f47bb141e05fe5
parent72304a272c7df7870ce1cafb5e97b611fa2114a7
lib/commit: Minor refactoring of tmpdir cleanup code

Prep for future work here; let's cleanly separate the path for cleaning up the
txn staging directories from the code that cleans up "other stuff". Currently
only the former case uses the `GLnxLockFile` etc.

Closes: #1352
Approved by: dbnicholson
src/libostree/ostree-repo-commit.c